
class KrawDemo : public KrawApp
{
public:
    
    bool Open();
    void Close();
    void Tick( float, float );
    void Draw();

private:
    
}

bool KrawDemo::Open()
{
    //create a deformable mesh and material
    //1- a skinned mesh and material
    //2- software deformation using dynamic geometry
}

void KrawDemo::Close()
{
    //
}

void KrawDemo::Tick( float fTime, float fElapsedTime )
{
    //let the user pick on the model
    if ( /*hardware skinning*/ )
        //update internal skeleton
    else
        //dynamically deform geometry
}

void KrawDemo::Draw()
{
    //render the deformed geometry
    if ( /*hardware skinning*/ )
        //render using skeleton and static geometry
    else
        //render using deformed dynamic geometry
}
